<%--
  Created by IntelliJ IDEA.
  User: HP
  Date: 2023/8/3
  Time: 10:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<script src="webjars/jquery/3.7.0/dist/jquery.min.js"></script>
<link rel="stylesheet" href="webjars/bootstrap/3.4.1/dist/css/bootstrap.min.css">
<script src="webjars/bootstrap/3.4.1/dist/js/bootstrap.min.js"></script>

<html>
<meta charset="GB18030">
<head>
    <title>用户登录</title>
    <style>
        input{
            margin-bottom: 10px;
        }
        .container{
            width: 600px;
            margin-top: 50px;
        }
    </style>
</head>
<body>

<div class="container">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">用户登录</h3>
        </div>
        <div class="panel-body">
            <form class="form-signin" action="/user/login.do" method="post">

                <input type="text" class="form-control" name="username" placeholder="请输入用户名" required autofocus>

                <input type="password" class="form-control" name="password" placeholder="请输入密码" required>
                <span style="color:red">${sessionScope.msg}</span>
                <button class="btn btn-lg btn-primary btn-block" type="submit">用户登录</button>
            </form>
        </div>
        <div class="panel-footer text-right">合众艾特2023.</div>
    </div>


</div>
</body>
</html>
